package com.j180.dao;

import com.j180.bean.UserBean;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface IUserDao {

    @Select("select * from t_userInfo")
    List<UserBean> showAll();

    @Insert("insert into t_userInfo values(null,#{name},#{gender},#{birthday},#{salary})")
    int addUser(UserBean userBean);

}
